[QUIZ] Check your understanding of SQL - Part 2
- Question 1: In SQL, how to insert a new record into the "Persons" table?
- INSERT INTO Persons VALUES ('Jimmy', 'Jackson')
- INSERT VALUES ('Jimmy', 'Jackson') INTO Persons
- INSERT ('Jimmy', 'Jackson') INTO Persons
-
- Question 2: In SQL, how to insert the record "LastName" worth "Olsen" in the "Persons" table?
- INSERT ('Olsen') INTO Persons (LastName)
- INSERT INTO Persons ('Olsen') INTO LastName
- INSERT INTO Persons (LastName) VALUES ('Olsen')
-
- Question 3: How to change "Hansen" to "Nilsen" in the "LastName" column in the "Persons" table?
- MODIFY Persons SET LastName = 'Nilsen' WHERE LastName = 'Hansen'
- UPDATE Persons SET LastName = 'Nilsen' WHERE LastName = 'Hansen'
- MODIFY Persons SET LastName = 'Hansen' INTO LastName = 'Nilsen
- UPDATE Persons SET LastName = 'Hansen' INTO LastName = 'Nilsen'
-
- Question 4: In SQL, how to delete the "Peter" record from the "FirstName" column in the "Persons" table?
- DELETE FirstName = 'Peter' FROM Persons
- DELETE ROW FirstName = 'Peter' FROM Persons
- DELETE FROM Persons WHERE FirstName = 'Peter'
-
- Question 5: In SQL, how to return the number of records in the "Persons" table?
- SELECT COLUMNS (*) FROM Persons
- SELECT COUNT (*) FROM Persons
- SELECT LEN (*) FROM Persons
- SELECT NO (*) FROM Persons
-
- Question 6: Where is the most popular type of JOIN?
- INNER JOIN
- INSIDE JOIN
- JOINED TABLE
- JOINED
-
- Question 7: Which operator is used to retrieve data in a range?
- RANGE
- BETWEEN
- WITHIN
-
- Question 8: The NOT NULL constraint does not accept a null value column.
- It's correct
- False
-
- Question 9: Which clauses are used to find values according to certain patterns?
- LIKE
- GET
- FROM
-
- Question 10: Which SQL statement is used to create the table in the database?
- CREATE DB
- CREATE TABLE
- CREATE DATABASE TAB
- CREATE DATABASE TABLE
-
4.4 ★ | 5 Vote
You should read it
- [QUIZ] Test your understanding of SQL - Part 5
- [QUIZ] Test your understanding of SQL - Part 1
- [QUIZ] Test your understanding of SQL - Part 6
- [QUIZ] Test your understanding of SQL - Part 7
- Test about database security P8
- What do you know about NoSQL Database?
- eQuiz - Multiple choice test on SQL
- Test about database security P12
May be interested
- eQuiz - VB.NET testing test - Part 2in the previous article, i showed you the first part of the vb.net test. and this time, we will continue with part 2 of this popular quiz series on programming languages, the whole test will have 15 questions with unlimited response time.
- Multiple choice quiz about Python - Part 5if you are interested in learning about the python programming language, the following quiz of network administrator will provide useful knowledge for your learning.
- Multiple choice quiz about Python - Part 7following the previous test set, part 7 continues with the topic built-in functions in python. let's try with quantrimang to try the 10 questions below.
- Multiple choice quiz about Python - Part 10following the previous test, part 10 returned with the python function. let's try with quantrimang to try the 10 questions below.
- Testing computer science knowledge, doing little for fun (part 1)check your computer knowledge with this series of quiz questions on this computer science topic.
- Answer game 850 sentence folk quizyou are playing the game of folklore on the phone and being stuck with those funny questions, please refer to the answers of the folk quiz game tipsmake.com has compiled.
- Multiple choice quiz about Python - Part 3today's topic quantrimang wants to challenge you is about file and exception handling in python. let's try the following 15 questions!
- Testing computer science knowledge, doing a bit of fun (part 7)after part 6, network administrator continues to introduce part 7. let's try to see how many answers you can answer?
- eQuiz - Multiple choice test on JDBC - Part 1in the quiz below, we will introduce you to part 1 of the jdbc basic knowledge test series with 15 questions.
- eQuiz - Quiz on Core Java - Part 1in the quiz below, you will be able to challenge the most basic questions related to core java - one of the most popular programming languages today.